<!--#layout("/common/layout.html",{"jsBase":"/js/tdcrad/tDCard/"}){ -->
<div class="layui-row">
    <form id="searchForm" class="layui-form layui-form-pane">
        <div class="layui-collapse" lay-filter="condictionCol">
            <div class="layui-colla-item">
                <h2 class="layui-colla-title">查询条件</h2>
                <div class="layui-colla-content layui-show">
                    <div class="layui-row">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">卡号开始</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="idStart" autocomplete="off" class="layui-input" oninput = "value=value.replace(/[^\d]/g,'')">
                                </div>
                                <label class="layui-form-label">结束</label>
                                <div class="layui-input-inline">
                                    <input type="text" name="idEnd" autocomplete="off" class="layui-input" oninput = "value=value.replace(/[^\d]/g,'')">
                                </div>

                                <label class="layui-form-label">是否出库</label>
                                <div class="layui-input-inline">
                                    <select class="select" name="status" id="status"  promtion="请选择"  lay-filter="status">
                                        <option value="">请选择</option>
                                        <option value="1" >出库</option>
                                        <option value="0" >入库</option>
                                    </select>
                                </div>

                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">省份</label>
                                <div class="layui-input-inline">
                                    <layui:simpleDataSelect name="provinceId"  data="${provinceList}"
                                                            attrId="provId" attrName="provName" laySearch="true" />
                                </div>

                                <label class="layui-form-label">是否激活</label>

                                <div class="layui-input-inline">
                                    <select class="select" name="isActive" id="isActive"  promtion="请选择"  lay-filter="isActive">
                                        <option value="">请选择</option>
                                        <option value="1" >是</option>
                                        <option value="0" >否</option>
                                    </select>
                                </div>


                                <label class="layui-form-label">激活时间</label>

                                <div class="layui-input-inline">
                                    <div class="date-range-pick">
                                        <input type="text" name="activeDateQuery" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">卡类型</label>

                                <div class="layui-input-inline">
                                    <select class="select" name="groupId" id="groupId"  promtion="请选择"  lay-filter="groupId">
                                        <option value="" >全部</option>
                                        <option value="1">普通卡</option>
                                        <option value="2">体验卡</option>
                                        <option value="3">龙卡</option>
                                        <option value="4">超级会员卡</option>
                                        <option value="6">钻石会员卡</option>
                                    </select>
                                </div>
                                <label class="layui-form-label">制卡时间</label>

                                <div class="layui-input-inline">
                                    <div class="date-range-pick">
                                        <input type="text" name="createDateQuery" autocomplete="off" class="layui-input">
                                    </div>
                                </div>


                                <label class="layui-form-label">失效时间</label>

                                <div class="layui-input-inline">
                                    <div class="date-range-pick">
                                        <input type="text" name="inactiveDateQuery" autocomplete="off" class="layui-input">
                                    </div>
                                </div>
                                <button style="float: right;" class="layui-btn layui-btn-normal" type="button" id="searchFormSearch">搜索</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

<div class="layui-btn-group">
    <!--    <layui:accessButton function="tdcrad.tDCard.add" action="add">增加</layui:accessButton>-->
    <!--    <layui:accessButton function="tdcrad.tDCard.edit" action="edit">编辑</layui:accessButton>-->
    <!--    <layui:accessButton function="tdcrad.tDCard.del" action="del">删除</layui:accessButton>-->
</div>

<table id="tDCardTable" lay-filter="tDCardTable"></table>
<!--#} -->
<script>
    layui.use(['index'], function () {
        var index = layui.index
        index.init();
    });

</script>
